Expand description

Returns OsRng with getrandom, or a CryptoRng which panics without getrandom.

Re-exports

Traits

  • Re-export rand_core types to simplify dependences A marker trait used to indicate that an RngCore or BlockRngCore implementation is supposed to be cryptographically secure.
  • Re-export rand_core types to simplify dependences An extension trait that is automatically implemented for any type implementing RngCore and CryptoRng.
  • Re-export rand_core types to simplify dependences The core of a random number generator.
  • Re-export rand_core types to simplify dependences A random number generator that can be explicitly seeded.

Functions